package com.dc.bobaoge.project.base.core.util.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * MessageDetailBaseInfoModel
 *
 * @author chenxueli
 * @date 2024-01-15 11:16:39
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class MessageDetailBaseInfoModel extends MessageSimpleBaseInfoModel implements Serializable {

    /**
     * 商圈id
     */
    private Long zoneId;

    /**
     * 商圈名称
     */
    private String zoneName;

    /**
     * 标题名称
     */
    private String titleName;

    public MessageDetailBaseInfoModel(MessageSimpleBaseInfoModel simple) {
        super(simple);
    }

    public MessageDetailBaseInfoModel(MessageDetailBaseInfoModel simple) {
        super(simple);
        this.setZoneId(simple.getZoneId());
        this.setZoneName(simple.getZoneName());
        this.setTitleName(simple.getTitleName());
    }

}
